// 全局getters做路径映射
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  userId: state => state.user.userInfo.userId,
  username: state => state.user.userInfo.username,
  photo: state => state.user.userInfo.staffPhoto

}
export default getters
